package com.nineclock.auth.exception;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;
// 在将此类进行 序列化时 使用  注解指定的类
@JsonSerialize(using = NcOAuthExceptionJacksonSerializer.class)
public class NcOAuth2Exception extends OAuth2Exception {
    public NcOAuth2Exception(String msg, Throwable t) {
        super(msg, t);
    }
    public NcOAuth2Exception(String msg) {
        super(msg);
    }
}